package com.gba.mark.user.entity.permission;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode
@Accessors(chain = true)
public class Permission {

    //主键
    private Integer id;

    //所有从属权限的id
    private Integer parentId;

    //权限名称
    private String name;

    //权限类型
    private String type;

    //权限密钥
    private String permission;

    //请求地址
    private String url;

    //请求类型
    private String request;

}
